#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.68])
AC_INIT([CPos], 0.5, mathieu.marleix@aerian.fr)
AM_INIT_AUTOMAKE

AC_PROG_MAKE_SET
AC_CONFIG_SRCDIR([src/arbre.c])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC
AC_PROG_LEX
AC_PROG_YACC

# Checks for libraries.

AC_CHECK_LIB(yyerror,fl, yywrap)

# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([strdup])

AC_CONFIG_FILES([
	Makefile		
	src/Makefile
	])
AC_OUTPUT
